<?php

require_once "core/application/models/bans/mbans6.php";

class Mbans7 extends Mbans6 {

    private $_query;

    protected function deleteAllBannedIPsFromBD() {
        /**
         *  очищаем список банов
         */
        DB::getInstance()->openConnectionToLS();
        $this->_query = "DELETE from `banned_ip` ";
        return DB::getInstance()->sql($this->_query);
        DB::getInstance()->closeConnection();
        unset($this->_query);
    }

}

?>
